package com.shinechain.service.user;

import org.telegram.telegrambots.api.objects.Update;

import java.util.Date;
import java.util.HashMap;
import java.util.List;

public interface TelegramBotMethod {
    //开关
    boolean deletePhoto(boolean flag);
    boolean deleteFile(boolean flag);
    boolean deleteVoice(boolean flag);
    boolean deleteVideo(boolean flag);
    boolean deleteForward(boolean flag);
    boolean deleteJoinOUTMsg(boolean flag);
    boolean deleteSendLink(boolean flag);//不能发链接
    boolean deleteLongUsername(boolean flag); //删除名字过长的用户,自己进群、别人拉进群的时候
    boolean kitManWhoDeleteThreeMsg(); //方法内开关、多次调用
    boolean useTuling(boolean flag); //我们提供还是对方提供
    boolean disableAddBot(boolean flag); //非管理员添加机器人
    boolean disableSpam(boolean flag);  //一分钟内发3次广告以上的删除信息
    boolean deleteAdKey(boolean flag , List<String> list); //非管理员发关键字就删除


    boolean welcome(boolean flag, String msg);  //新人欢迎语
    boolean whiteList(boolean flag ,List<String> list); //白名单关键词，不处理
    boolean chat(boolean flag, HashMap<String,String> hashMap);//关键词自动回复

    //static boolean  sendMsgOnTime(boolean flag, String msg,int min, Date date){};//多少分钟间隔，自动发信息,从什么时候开始

    boolean inviteToken(boolean flag, Double token); //邀请一个人给多少token,具体规则不详











}
